﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BingVis.SilverlightClient.Common;

namespace BingVis.SilverlightClient.GoogleTransit
{
    public class TransitStopTime : ITransitStopTime
    {
        public string TripId { get; set; }
        public DateTime Arrival { get; set; }
        public DateTime Departure { get; set; }
        public ITransitStop Stop { get; set; }
        public int Sequence { get; set; }
        public string HeadSign { get; set; }
        public int PickupType { get; set; }
        public int DropoffType { get; set; }
        public double ShapeDistTraveled { get; set; }

        public TransitStopTime()
        {

        }

        public static TransitStopTime FromStop(ITransitStop stop)
        {
            return new TransitStopTime() { Stop = stop };
        }
    }
}
